<template>
  <div class="tabbar tab-bar">
    <div class="btn" @click="btnClick">立即开通</div>
  </div>
</template>

<script>
export default {
  methods: {
    btnClick() {
      this.$emit('btn-click')
    }
  }

}
</script>

<style scoped>
.tabbar {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  right: 0;
  width: 10rem;
  height: 1.333333rem;
  background: linear-gradient(133deg, #FFD892 0%, #EBA448 100%);
}

.btn {
  width: 9.146667rem;
  height: 1.173333rem;
  border-radius: .76rem;
  font-size: .4rem;
  font-weight: bold;
  text-align: center;
  line-height: 1.173333rem;
  color: #FFFFFF;
}
</style>